package com.xyebank.ledger.vo.mq;

import com.xyebank.ledger.enums.LedgerBusiTypeEnum;

import java.io.Serializable;

public class MsgT1ResultVo implements Serializable {

    /**
     * 
     */
    private static final long serialVersionUID = 3187340490302034635L;

    LedgerBusiTypeEnum jobType;

    Integer curIndex;

    Integer totalNum;

    Integer sucNum;

    long beginTime;

    long endTime;

    public LedgerBusiTypeEnum getJobType() {
        return jobType;
    }

    public void setJobType(LedgerBusiTypeEnum jobType) {
        this.jobType = jobType;
    }

    public Integer getCurIndex() {
        return curIndex;
    }

    public void setCurIndex(Integer curIndex) {
        this.curIndex = curIndex;
    }

    public Integer getTotalNum() {
        return totalNum;
    }

    public void setTotalNum(Integer totalNum) {
        this.totalNum = totalNum;
    }

    public Integer getSucNum() {
        return sucNum;
    }

    public void setSucNum(Integer sucNum) {
        this.sucNum = sucNum;
    }

    public long getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(long beginTime) {
        this.beginTime = beginTime;
    }

    public long getEndTime() {
        return endTime;
    }

    public void setEndTime(long endTime) {
        this.endTime = endTime;
    }

    public MsgT1ResultVo(){

    }

    public MsgT1ResultVo(LedgerBusiTypeEnum jobType, Integer curIndex, Integer totalNum, Integer sucNum, long beginTime, long endTime) {
        this.jobType = jobType;
        this.curIndex = curIndex;
        this.totalNum = totalNum;
        this.sucNum = sucNum;
        this.beginTime = beginTime;
        this.endTime = endTime;
    }
    /*
    public MsgT1ResultVo(Integer curIndex, LedgerBusiTypeEnum jobType, Integer totalNum, Integer sucNum, long beginTime, long endTime) {
        this.curIndex = curIndex;
        this.jobType = jobType;
        this.totalNum = totalNum;
        this.sucNum = sucNum;
        this.beginTime = beginTime;
        this.endTime = endTime;
    }*/

    @Override
    public String toString() {
        return "MsgT1ResultVo{" +
                "jobType=" + jobType +
                ", curIndex=" + curIndex +
                ", totalNum=" + totalNum +
                ", sucNum=" + sucNum +
                ", beginTime=" + beginTime +
                ", endTime=" + endTime +
                '}';
    }
}
